﻿{include file='common/head.html'}

<div class="layui-body">

	<div class="layui-tab layui-tab-brief" lay-filter="tab">
		<ul class="layui-tab-title">
			<li class="layui-this" lay-id="t1">订单设置</li>


		</ul>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<form action="{url./admin/Order/Order/index}" method="post" class="layui-form">
					<input type="hidden" name="formcheck" value="{$formcheck}" >

					<div class="layui-form-item">
						<label class="layui-form-label">求购数量</label>
						<div class="layui-input-inline">
							<input type="text" name="amount"  value="{$order->amount}"   placeholder="￥"value="" placeholder="求购数量没,以','分开"  class="layui-input">
						</div>
					</div>

					<div class="layui-form-item">
						<label class="layui-form-label">手续费</label>
						<div class="layui-input-inline">
							<input type="text" name="poundage"  value="{$order->poundage}"  placeholder="￥" placeholder="请输入手续费"  class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">单价</label>
						<div class="layui-input-inline">
							<input type="text" name="unit_price" value="{$order->unit_price}"   placeholder="￥" placeholder="请输入单价"  class="layui-input">
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">开始发布时间</label>
							<div class="layui-input-inline">
								<input type="text" name="start_time" value="{$order->start_time}"   readonly placeholder="请选择开始时间"  class="layui-input datetime">

							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">结束发布时间</label>
							<div class="layui-input-inline">
								<input type="text" name="end_time"  readonly placeholder="请选择结束时间"  value="{$order->end_time}" class="layui-input datetime">

							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<label class="layui-form-label">状态</label>
						<div class="layui-input-block">
							<input type="radio" name="status" value="1" title="未开始" {if([$order->status]==1)}checked="" {/if}>
							<input type="radio" name="status" value="2" title="开始" {if([$order->status]==2)}checked=""{/if} >
							<input type="radio" name="status" value="3" title="结束" {if([$order->status]==3)}checked=""{/if} >
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">
							<button class="layui-btn" lay-submit>立即提交</button>
							<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						</div>
					</div>

				</form>
			</div>



		</div>
	</div>

</div>
<script>
	//日期
	laydate.render({
		elem: '#start'
	});

	laydate.render({
		elem: '#end'
	});

</script>
{include file='common/foot.html'}
